package org.dromara.system.pojo.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.dromara.common.web.core.domain.BaseBO;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * OSS对象存储表 BO。
 *
  * @author mkj
  * @since 2024-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "OSS对象存储表")
public class SysOssBO extends  BaseBO {

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "对象存储主键")
    private Long id;

    @Schema(description = "md5值")
    private String md5;

    @Schema(description = "文件原名")
    private String fileName;

    @Schema(description = "文件后缀名")
    private String fileSuffix;

    @Schema(description = "资源地址")
    private String uri;

    @Schema(description = "服务商")
    private String ossService;
}
